package com.dgut.usermanager.service;


import com.dgut.usermanager.entity.UserAccount;

import java.util.List;
import java.util.Optional;

public interface UserAccountService {
    public Optional<UserAccount> findUserAccountById(Integer id);
    public List<UserAccount> findAllUserAccount();
    public UserAccount findUserAccountByAccount(String account);
    public void deleteUserAccountById(Integer id);
    public UserAccount updateUserAccount(UserAccount userAccount);
    public UserAccount AddUserAccount(UserAccount userAccount);
}
